from django.urls import path
from .views import home, runoob, logout_view, ui_demo, login_view, forgot_password_view

app_name = "portal"

# 路由说明：
# - 根路径 ('') 指向首页
# - '/runoob/' 指向示例页面
# - '/ui-demo/' 指向UI组件展示页面
# - '/login/' 指向自定义登录页面
# - '/logout/' 指向登出功能
# - '/forgot-password/' 指向忘记密码页面

urlpatterns = [
    path('', home, name='home'),
    path('runoob/', runoob, name='runoob'),
    path('ui-demo/', ui_demo, name='ui_demo'),
    path('login/', login_view, name='login'),
    path('logout/', logout_view, name='logout'),
    path('forgot-password/', forgot_password_view, name='forgot_password'),
]


